[@b.head/]
[@b.toolbar title="新增、修改账号"]
	bar.addBack();
[/@]
[@b.form action="!save" name="indexBaseForm" theme="list"]
   [@b.textfield name="indexBase.code" label="编号" value=(indexBase.code)! check="maxLength(100)" required="true" /]
   [@b.textfield name="indexBase.name" label="项目名称" value=(indexBase.name)! check="maxLength(100)" required="true" /]
   [#if indexBase.year>0][#assign year=indexBase.year/][/#if]
   [@b.textfield name="indexBase.year" label="年度" value=year! required="true" /]
   [@b.select name="indexBase.indextype.id" label="指标库类型" value=(indexBase.indextype)! empty="..." required="true" items=indextypes /]
   [@b.select name="indexBase.division.id" label="区域" value=(indexBase.division)! empty="..." required="true" items=divisions /]
   [@b.select name="indexBase.evaulationtype.id" label="评价类型" value=(indexBase.evaulationtype)! empty="..." required="true" items=evaulationtypes /]
   [@b.select name="indexBase.projecttype.id" label="项目类型" value=(indexBase.projecttype)! empty="..." required="true" items=projecttypes /]
   [@b.select name="indexBase.budget.id" label="项目支出" value=(indexBase.budget)! empty="..." required="true" items=budgets /]
   [@b.select name="indexBase.industry.id" label="所属行业" value=(indexBase.industry)! empty="..." required="true" items=industrys /]
   [@b.textfield name="indexBase.keyword" label="关键词" value=(indexBase.keyword)! check="maxLength(100)" required="true" /]
   

   [@b.formfoot]
		[@b.submit value="提交" class="btn btn-default"/]
		<input type="hidden" name="indexBase.id" value="${(indexBase.id)!}"/>
   [/@]
   
   
[/@]
[@b.foot/]

